#ifndef INC_INCFILE_H
#define INC_INCFILE_H


//#include "inc_file.h"
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;

typedef signed char s8;
typedef signed short s16;
typedef signed int s32;

typedef volatile unsigned char VolU8;



#define FLASH_START_ADDR				0x08000000
#define FLASH_OFFSET					0x2800
#define FLASH_END_ADDR					0x0801FFFF
#define FLASH_PAGE_SIZE					2048
#define SYSTEMCLOCKGET					108000000
#define WWDG_WWDG_SetCnt(x) 			WWDG->CTRL = x
#define IWG_IWG_Reload() 				IWDG->KEY = 0xAAAA


#define foc_deug 1
#define BIT(x)	(1ul<<x)	


typedef void (* qfunc)(void);


#include 	"n32g43x.h"
#include	"n32g43x_rcc.h"
#include    "n32g43x_gpio.h"
#include 	"n32g43x_dma.h"
#include	"motor.h"
#include 	"softwareIIC.h"
#include	"as5600.h"
#include	"MT6701.h"
#include 	"sysclkSet.h"
#include 	"main.h"
#include 	"log.h"
#include 	"SEGGER_RTT.h"
#include	"sysTf.h"
#include	"string.h"
#include 	"math.h"
#include 	"PWM.h"
#include 	"PID.h"
#include 	"electricity_get.h"
#include 	"crc16modbus.h"
#include  	"key.h"
#include	"msgRes.h"
#include 	"FOC.h"
#include	"svpwm.h"
#include	"arm_math.h"
#include 	<stdio.h>
#include 	"log.h"	
#include    "n32g43x_can.h"
#include	 "canFunc.h"



#endif

